﻿using System.Collections.ObjectModel;

namespace Syncfusion.Maui.ControlsGallery.CartesianChart.SfCartesianChart
{
	public partial class HistogramSeriesViewModel : BaseViewModel
	{
		public ObservableCollection<ChartDataModel>? HistogramData { get; set; }

		public HistogramSeriesViewModel()
		{
			HistogramData =
			[
				new ChartDataModel(5.250, 0),
				new ChartDataModel(7.750, 0),
				new ChartDataModel(0, 0),
				new ChartDataModel(8.275, 0),
				new ChartDataModel(9.750, 0),
				new ChartDataModel(7.750, 0),
				new ChartDataModel(8.275, 0),
				new ChartDataModel(6.250, 0),
				new ChartDataModel(5.750, 0),
				new ChartDataModel(5.250, 0),
				new ChartDataModel(23.000, 0),
				new ChartDataModel(26.500, 0),
				new ChartDataModel(27.750, 0),
				new ChartDataModel(25.025, 0),
				new ChartDataModel(26.500, 0),
				new ChartDataModel(26.500, 0),
				new ChartDataModel(28.025, 0),
				new ChartDataModel(29.250, 0),
				new ChartDataModel(26.750, 0),
				new ChartDataModel(27.250, 0),
				new ChartDataModel(26.250, 0),
				new ChartDataModel(25.250, 0),
				new ChartDataModel(34.500, 0),
				new ChartDataModel(25.625, 0),
				new ChartDataModel(25.500, 0),
				new ChartDataModel(26.625, 0),
				new ChartDataModel(36.275, 0),
				new ChartDataModel(36.250, 0),
				new ChartDataModel(26.875, 0),
				new ChartDataModel(45.000, 0),
				new ChartDataModel(43.000, 0),
				new ChartDataModel(46.500, 0),
				new ChartDataModel(47.750, 0),
				new ChartDataModel(45.025, 0),
				new ChartDataModel(56.500, 0),
				new ChartDataModel(56.500, 0),
				new ChartDataModel(58.025, 0),
				new ChartDataModel(59.250, 0),
				new ChartDataModel(56.750, 0),
				new ChartDataModel(57.250, 0),
				new ChartDataModel(46.250, 0),
				new ChartDataModel(55.250, 0),
				new ChartDataModel(44.500, 0),
				new ChartDataModel(45.500, 0),
				new ChartDataModel(55.500, 0),
				new ChartDataModel(45.625, 0),
				new ChartDataModel(55.500, 0),
				new ChartDataModel(56.250, 0),
				new ChartDataModel(46.875, 0),
				new ChartDataModel(43.000, 0),
				new ChartDataModel(46.250, 0),
				new ChartDataModel(55.250, 0),
				new ChartDataModel(44.500, 0),
				new ChartDataModel(45.425, 0),
				new ChartDataModel(56.625, 0),
				new ChartDataModel(46.275, 0),
				new ChartDataModel(56.250, 0),
				new ChartDataModel(46.875, 0),
				new ChartDataModel(43.000, 0),
				new ChartDataModel(46.250, 0),
				new ChartDataModel(55.250, 0),
				new ChartDataModel(44.500, 0),
				new ChartDataModel(45.425, 0),
				new ChartDataModel(55.500, 0),
				new ChartDataModel(46.625, 0),
				new ChartDataModel(56.275, 0),
				new ChartDataModel(46.250, 0),
				new ChartDataModel(56.250, 0),
				new ChartDataModel(42.000, 0),
				new ChartDataModel(41.000, 0),
				new ChartDataModel(63.000, 0),
				new ChartDataModel(66.500, 0),
				new ChartDataModel(67.750, 0),
				new ChartDataModel(65.025, 0),
				new ChartDataModel(66.500, 0),
				new ChartDataModel(76.500, 0),
				new ChartDataModel(78.025, 0),
				new ChartDataModel(79.250, 0),
				new ChartDataModel(76.750, 0),
				new ChartDataModel(77.250, 0),
				new ChartDataModel(66.250, 0),
				new ChartDataModel(75.250, 0),
				new ChartDataModel(74.500, 0),
				new ChartDataModel(65.625, 0),
				new ChartDataModel(75.500, 0),
				new ChartDataModel(76.625, 0),
				new ChartDataModel(76.275, 0),
				new ChartDataModel(66.250, 0),
				new ChartDataModel(66.875, 0),
				new ChartDataModel(82.000, 0),
				new ChartDataModel(85.250, 0),
				new ChartDataModel(87.750, 0),
				new ChartDataModel(92.000, 0),
				new ChartDataModel(85.250, 0),
				new ChartDataModel(87.750, 0),
				new ChartDataModel(89.000, 0),
				new ChartDataModel(88.275, 0),
				new ChartDataModel(89.750, 0),
				new ChartDataModel(95.750, 0),
				new ChartDataModel(95.250, 0),
			];
		}
	}
}